/**
 * 配置编译环境和线上环境之间的切换
 *
 * baseUrl: 域名地址
 * routerMode: 路由模式
 * imgBaseUrl: 图片所在域名地址
 *
 */
let baseUrl;
let routerMode;
let basicAuthor;
const imgBaseUrl = '';

if (process.env.NODE_ENV == 'development') {
  baseUrl = '/';
  basicAuthor = 'dGVzdDI6MTExMQ==';
  routerMode = 'hash';
} else {
  baseUrl = 'http://192.168.11.29:8086/';
  basicAuthor = 'dGVzdDI6MTExMQ==';
  routerMode = 'hash';
}

export {
  baseUrl,
  routerMode,
  basicAuthor,
  imgBaseUrl
}
